package com.ql.service;

import com.ql.domain.Device;
import com.ql.domain.request.PermissionQuery;
import com.ql.domain.response.JsonResult;

import java.util.List;

public interface DeviceService {
    JsonResult findAll(PermissionQuery permissionQuery, String devNum, Integer page, Integer limit);

    JsonResult save(Device device);

    JsonResult update(Device device);

    JsonResult del(String id);

    List<Device> getDeviceList(PermissionQuery permissionQuery);

}
